<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="utf-8">
    <base href="<%=basePath %>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <link rel="shortcut icon" th:href="@{/img/favicon.ico}" href="../static/img/favicon.ico">
    <link th:href="@{/css/bootstrap.min.css}" href="../static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link th:href="@{/css/font-awesome.css}" href="../static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link th:href="@{/css/plugins/bootstrap-table/bootstrap-table.min.css}"
          href="../static/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link th:href="@{/css/animate.css}" href="../static/css/animate.css" rel="stylesheet">
    <link th:href="@{/css/style.css}" href="../static/css/style.css?v=4.1.0" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-4">
            <div class="widget style1 navy-bg">
                <div class="row">
                    <div class="col-sm-4" style="opacity:0.2">
                        <i class="fa fa-globe fa-5x" aria-hidden="true"></i>
                    </div>
                    <div class="col-sm-8 text-right" style="font-size:20px">
                        <span> 总监控任务数 </span>
                        <h2 class="font-bold" id="allNum"></h2>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="widget style1 navy-bg">
                <div class="row">
                    <div class="col-sm-4" style="opacity:0.2">
                        <i class="fa fa-cogs fa-5x" aria-hidden="true"></i>
                    </div>
                    <div class="col-sm-8 text-right" style="font-size:20px">
                        <span> 监控作业数 </span>
                        <h2 class="font-bold" id="jobNum"></h2>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="widget style1 navy-bg">
                <div class="row">
                    <div class="col-sm-4" style="opacity:0.2">
                        <i class="fa fa-exchange fa-5x" aria-hidden="true"></i>
                    </div>
                    <div class="col-sm-8 text-right" style="font-size:20px">
                        <span> 监控转换数 </span>
                        <h2 class="font-bold" id="transNum"></h2>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>转换监控记录</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="right">
                        <button onclick="searchTrans()" class="btn btn-w-m btn-info" type="button">
                            <i class="fa fa-refresh" aria-hidden="true"></i>&nbsp;刷新列表
                        </button>
                    </div>
                    <table id="transMonitorList"></table>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>作业监控记录</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="right">
                        <button onclick="searchJobs()" class="btn btn-w-m btn-info" type="button">
                            <i class="fa fa-refresh" aria-hidden="true"></i>&nbsp;刷新列表
                        </button>
                    </div>
                    <table id="jobMonitorList"></table>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>转换错误记录</h5>
            <!--<div class="col-sm-5">-->
            <!--<a th:href="@{/web/trans/monitor/list.shtml}" href="/web/trans/monitor/list.shtml" class="btn btn-w-m btn-info" type="button">-->
            <!--<i class="fa fa-reply" aria-hidden="true"></i>&nbsp;返回-->
            <!--</a>-->
            <!--</div>-->
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
                <a class="close-link">
                    <i class="fa fa-times"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content">

            <div class="col-sm-12">
                <div class="form-inline text-right">
                    <div class="form-group ">
                        <label class="control-label m-b-xs" for="categoryId">分类：</label>
                        <select id="categoryId" name="categoryId" class="form-control m-b-xs" aria-required="true">
                            <option value="" selected>请选择分类</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <button onclick="search()" class="right btn btn-w-m btn-info" type="button">
                            <i class="fa fa-refresh" aria-hidden="true"></i>&nbsp;刷新
                        </button>
                    </div>
                </div>
            </div>
            <input type="hidden" id="transId" name="transId" th:value="${transId}">
            <table id="transerrorList">
            </table>

        </div>
    </div>
</div>
    <div class="row">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>作业错误记录</h5>
                <div class="ibox-tools">
                    <a class="collapse-link">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                    <a class="close-link">
                        <i class="fa fa-times"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">

                <div class="col-sm-12">
                    <div class="form-inline text-right">
                        <div class="form-group ">
                            <label class="control-label m-b-xs" for="categoryId">分类：</label>
                            <select id="categoryIdj" name="categoryIdj" class="form-control m-b-xs" aria-required="true">
                                <option value="" selected>请选择分类</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <button onclick="search2()" class="right btn btn-w-m btn-info" type="button">
                                <i class="fa fa-refresh" aria-hidden="true"></i>&nbsp;刷新
                            </button>
                        </div>
                    </div>
                </div>
                <!--<input type="hidden" id="transId" name="transId" th:value="${transId}">-->
                <table id="joberrorList">
                </table>

            </div>
        </div>
    </div>
    <div class="row">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>监控状况</h5>
                <div class="ibox-tools">
                    <a class="collapse-link">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                    <a class="close-link">
                        <i class="fa fa-times"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="echarts" id="kettleLine"></div>
            </div>
        </div>
    </div>
</div>
<!-- 全局js -->
<script th:src="@{/js/jquery.min.js}" src="../static/js/jquery.min.js?v=2.1.4"></script>
<script th:src="@{/js/bootstrap.min.js}" src="../static/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Bootstrap table -->
<script th:src="@{/js/plugins/bootstrap-table/bootstrap-table.min.js}"
        src="../static/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script th:src="@{/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js}"
        src="../static/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script th:src="@{/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}"
        src="../static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<!-- layer javascript -->
<script th:src="@{/js/plugins/layer/layer.min.js}" src="../static/js/plugins/layer/layer.min.js"></script>
<!-- ECharts -->
<script th:src="@{/js/plugins/echarts/echarts.js}" src="../static/js/plugins/echarts/echarts.js"></script>
<!-- 自定义js -->
<script th:src="@{/js/content.js}" src="../static/js/content.js?v=1.0.0"></script>
<!-- customer -->
<script th:src="@{/js/my/main.js}" src="../static/js/my/main.js" type="text/javascript"></script>
<script th:src="@{/js/my/error-trans-list.js}" src="../static/js/my/error-trans-list.js"></script>
<script th:src="@{/js/my/error-job-list.js}" src="../static/js/my/error-job-list.js"></script>


</body>
</html>